package com.ftg.learn.day03;

import java.util.Scanner;

/**
 * 分支
 *
 * @author 布衣
 */
public class SwitchLearn {

    public static void main(String[] args) {
        System.out.println("请输入日期");
        Scanner s = new Scanner(System.in);
        int i = s.nextInt();
        //1.8 新增string
        switch (i){
            case 0:
                System.out.println("星期日");
                break;
            case 1:
                System.out.println("星期一");
                break;
            default:
                System.out.println("星期六");
        }
    }

}
